package com.ruibang.glass.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruibang.glass.portal.entity.Computer;
import com.ruibang.glass.portal.mapper.ComputerMapper;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 电脑设置状态信息 服务实现类
 * </p>
 *
 * @author wujie
 * @since 2020-08-06
 */
@Service
public class ComputerService extends ServiceImpl<ComputerMapper, Computer> implements IService<Computer> {


    /***
     * 根据mac获取电脑设置信息
     * @param mac
     * @return
     */
    public Computer getByMac(String mac) {
        return baseMapper.getByMac(mac);
    }
}
